<?php
include_once("data.php");
// print("接受界面传输到后端的值");
$year = $_POST["year"];
$month = $_POST["month"];
$day = $_POST["day"];
// print($year."-".$month."-".$day)
$date=$year."-".$month."-".$day;
if(checkMD($year,$month,$day)){
    echo $date;
}else{
echo "你输入的信息有错误，请重新输入！ 如：2025-1-1";
}
?>